package mesweb.mesweb.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import mesweb.mesweb.entity.MesTechnologySetFlow;
import mesweb.mesweb.mapper.MesTechnologySetFlowMapper;
import mesweb.mesweb.service.IMesTechnologySetFlowService;
import mesweb.mesweb.vo.MesTechnologySetFlowVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 工艺组工作流程关系
 * @Author: jeecg-boot
 * @Date:   2021-06-21
 * @Version: V1.0
 */
@Service
public class MesTechnologySetFlowServiceImpl extends ServiceImpl<MesTechnologySetFlowMapper, MesTechnologySetFlow> implements IMesTechnologySetFlowService {

    @Autowired
    private MesTechnologySetFlowMapper mesTechnologySetFlowMapper;
    @Override
    public IPage<MesTechnologySetFlowVo> getTechnologySetFlow(Page page, QueryWrapper queryWrapper) {
        return mesTechnologySetFlowMapper.getTechnologySetFlow(page,queryWrapper);
    }

    @Override
    public List<MesTechnologySetFlowVo> getTechnologySetFlow(QueryWrapper queryWrapper) {
        return mesTechnologySetFlowMapper.getTechnologySetFlow(queryWrapper);
    }
}
